home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’91 / AliasThis! / AliasThisƒ / src / SampleAEvt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-10-03  |  895 b   |  25 lines  |  [TEXT/MPS ]

  1. #ifndef __SAMPLEAEVT__
  2. #define __SAMPLEAEVT__
  3.  
  4. #ifndef __EVENTS__
  5. #include <Events.h>
  6. #endif
  7.  
  8. #ifndef __APPLEEVENTS__
  9. #include <AppleEvents.h>
  10. #endif
  11.  
  12. #define typePoint 'poin'
  13.  
  14. extern             void    InitAppleEvents(void);
  15. extern pascal    OSErr    CoerceAliasToFSS(AEDesc theAEDesc, DescType toType,
  16.                                 long handlerRefcon, AEDesc *result);
  17. extern             OSErr    MakeTarget(AEAddressDesc *target, Boolean sendDirect, short replyMode);
  18. extern             void    CreateAndSendAppleEvent(AEEventID whichAppleEvent);
  19. extern             OSErr    MoveTheFrontWindow(AppleEvent message, AppleEvent reply, long refcon);
  20. extern             Boolean    MissedAnyParameters(AppleEvent message);
  21. extern             OSErr    OpenDocEventHandler(AppleEvent message, AppleEvent reply, Boolean forPrinting);
  22. extern pascal    OSErr    DispatchAppleEvent(AppleEvent message, AppleEvent reply, long refcon);
  23. extern             void    DoHighLevelEvent(EventRecord *event);
  24.  
  25. #endif __SAMPLEAEVT__